Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 졸업학점 계산 동의 API 및 학과, 시간표 수정 대응 #1154

Merged

Conversation

kwoo28
Copy link
Contributor

@kwoo28 kwoo28 commented Dec 27, 2024

🔥 연관 이슈

  • close #이슈번호

🚀 작업 내용

  1. 졸업학점 계산 동의 API 구현했습니다.
    해당 학생에 대한 졸업학점 계산 동의 요청 api를 날리게되면 계산테이블과 변경감지테이블에 학생에 대한 데이터값이 초기화됩니다.

  2. 시간표 수정
    aop를 이용하여 시간표 생성, 수정, 삭제되는 요청에 대해 공통적으로 변경감지테이블의 변경 여부를 true로 변경시킵니다.

  3. 학과 수정
    학생이 학과를 수정했을때 기존 계산테이블을 삭제하고, 새롭게 변경된 학과의 졸업요건에 맞게 계산테이블의 데이터값이 초기화됩니다.

💬 리뷰 중점사항

@kwoo28 kwoo28 self-assigned this Dec 27, 2024
@github-actions github-actions bot added the 기능 새로운 기능을 개발합니다. label Dec 27, 2024
Copy link
Contributor

@duehee duehee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~
작은 코멘트 하나씩만 확인해주세요 :D

detectGraduationCalculation.updatedIsChanged(true);
});
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C

👀

Comment on lines 34 to 39
if (student.getDepartment() == null) {
DepartmentNotFoundException.withDetail("학과를 추가하세요.");
}
if (student.getStudentNumber() == null) {
DepartmentNotFoundException.withDetail("학번을 추가하세요.");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C

예외처리 묶어서 처리하는 메소드로 관리하면 좋을 거 같아요!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!넵!

Copy link
Contributor

@Soundbar91 Soundbar91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 💯
코멘트 확인해주세욥

김원경 and others added 5 commits January 2, 2025 19:25
…alculator' into feature/detect-graduation

# Conflicts:
#	src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationApi.java
#	src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationController.java
#	src/main/java/in/koreatech/koin/domain/graduation/repository/CatalogRepository.java
#	src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java
#	src/main/java/in/koreatech/koin/domain/timetableV2/dto/request/TimetableLectureCreateRequest.java
#	src/main/java/in/koreatech/koin/domain/timetableV2/factory/TimetableLectureCreator.java
#	src/main/java/in/koreatech/koin/domain/timetableV2/model/TimetableLecture.java
* feat: 기능 구현

* chore: 리뷰 반영

* chore: 리뷰 반영

* chore: 리뷰 반영

* chore: 변경 여부에 따른 처리 로직 추가
…feature/detect-graduation

# Conflicts:
#	src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationController.java
#	src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java
#	src/main/java/in/koreatech/koin/domain/timetableV2/factory/TimetableLectureCreator.java
@kwoo28 kwoo28 merged commit 23a0b53 into feature/1140-graduation-credit-calculator Jan 4, 2025
2 checks passed
@kwoo28 kwoo28 deleted the feature/detect-graduation branch January 4, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 새로운 기능을 개발합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants